﻿using System;
using System.Collections.Generic;

namespace Pap.Data
{
    /// <summary>
    /// 
    /// </summary>
    public interface IwfProcessInstance : IEntity
    {
        /// <summary>
        /// Gets or sets the process instance ID.
        /// </summary>
        /// <value>
        /// The process instance ID.
        /// </value>
        Guid ProcessInstanceID { get; set; }

        /// <summary>
        /// Gets or sets the process ID.
        /// </summary>
        /// <value>
        /// The process ID.
        /// </value>
        Guid ProcessID { get; set; }

        /// <summary>
        /// Gets or sets the user ID.
        /// </summary>
        /// <value>
        /// The user ID.
        /// </value>
        Guid UserID { get; set; }

        /// <summary>
        /// Gets or sets the creation date.
        /// </summary>
        /// <value>
        /// The creation date.
        /// </value>
        DateTime CreationDate { get; set; }

        /// <summary>
        /// Gets or sets the completion date.
        /// </summary>
        /// <value>
        /// The completion date.
        /// </value>
        Nullable<System.DateTime> CompletionDate { get; set; }

        /// <summary>
        /// Gets or sets the entity ID.
        /// </summary>
        /// <value>
        /// The entity ID.
        /// </value>
        Nullable<System.Guid> EntityID { get; set; }

        /// <summary>
        /// Gets the wf step instances.
        /// </summary>
        IEnumerable<IwfStepInstance> wfStepInstances { get; }
    }
}
